<template>
	<view class="doctorCard">
		<image :src="data.doctorAvatar" mode=""></image>
		<view class="">
			<view class="doctorName">
				{{data.doctorName}} <text>{{data.titleName}} | {{data.departName}}</text>
			</view>
			<view class="doctorHospital">
				<text v-if="data.hospitalLevelName">{{data.hospitalLevelName}}</text> {{data.hospitalName}}
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: ['data'],
		data() {
			return {}
		},

		created() {

		},
		methods: {}
	}
</script>

<style lang="less" scopde>
	.doctorCard {
		width: 497rpx;
		min-height: 113rpx;
		background: rgba(233, 238, 253, 0.25);
		border-radius: 10rpx;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		padding: 10rpx 20rpx;

		.doctorName {
			font-weight: bold;
			font-size: 32rpx;
			color: #333333;

			text {
				margin-left: 19rpx;
				font-size: 24rpx;
				color: #666666;
				font-weight: normal;
			}

		}

		.doctorHospital {
			margin-top: 9rpx;

			text {
				display: inline-block;
				background: #DEF7ED;
				padding: 5rpx 10rpx;
				border-radius: 10rpx;
				color: #23CC88;
				margin-right: 10rpx;
			}

			font-size: 24rpx;
			color: #666666;
		}

		image {
			width: 90rpx;
			height: 90rpx;
			margin-right: 33rpx;
			border-radius: 50%;
		}
	}
</style>